package com.ruoyi.common.constant;

import io.swagger.annotations.ApiModel;

@ApiModel("wms的常量类")
public class WmsConstants {


    //盘点单据是否出库状态start ------------------------------------------------------------------------------
    /** 状态 否 */
    public static final String OUT_BOUND_ONE = "0";
    /** 状态 是 */
    public static final String OUT_BOUND_TWO = "1";
    //盘点单据是否出库状态end ************************************************************************************************


    //单据表类型 start ------------------------------------------------------------------------------
    /** 辅料1 */
    public static final String DOC_TYPE_ONE = "1";
    /** 成品2 */
    public static final String DOC_TYPE_TWO = "2";
    /** 质检3 */
    public static final String DOC_TYPE_THREE = "3";
    /** 空托盘4 */
    public static final String DOC_TYPE_FOUR = "4";
    /** 单据类别 1入库 */
    public static final String DOC_CATEGORY_ONE = "1";
    /** 单据类别 2出库 */
    public static final String DOC_CATEGORY_TWO = "2";
    /** 状态 1启用 */
    public static final String DOC_STATUS_ONE = "1";
    /** 状态 2停用 */
    public static final String DOC_STATUS_TWO = "2";
    /** 状态 4删除 */
    public static final String DOC_STATUS_FOUR = "4";
    //仓库ID end ************************************************************************************************


    //储位出入库锁定 start ------------------------------------------------------------------------------
    /** 正常 1 */
    public static final Integer ONE_LOCK = 1;

    /** 锁定 2 */
    public static final Integer TWO_LOCK = 2;
    //储位出入库锁定 end ************************************************************************************************


    //移库单start ------------------------------------------------------------------------------
    /** 状态 1等待执行 */
    public static final String MV_ORDER_STATUS_ONE = "1";
    /** 状态 2正在执行 */
    public static final String MV_ORDER_STATUS_TWO = "2";
    /** 状态 3执行完毕 */
    public static final String MV_ORDER_STATUS_THREE = "3";
    /** 状态 4上传完毕 */
    public static final String MV_ORDER_STATUS_FOW = "4";
    //移库单end ************************************************************************************************


    //成品标签start ------------------------------------------------------------------------------
    /** 状态 1正常  */
    public static final String LABEL_IS_STATUS_ONE = "1";
    /** 状态 4删除 */
    public static final String LABEL_IS_STATUS_THREE = "4";
    /** 检验标识 1未检 */
    public static final String LABEL_INSPECT_FLAG_ONE = "1";
    /** 检验标识  2合格 */
    public static final String LABEL_INSPECT_FLAG_TWO = "2";
    /** 是否使用(1未使用 ) */
    public static final String LABEL_IS_USE_ONO = "1";
    /** 是否使用(2已使用) */
    public static final String LABEL_IS_USE_TWO = "2";
    /** 是否入库 1否  */
    public static final String LABEL_IS_RECEIPT_ONE = "1";
    /** 是否入库 2是 */
    public static final String LABEL_IS_RECEIPT_TWO = "2";
    /** 是否重置批次(1是)  */
    public static final String LABEL_IS_BATCH_ONE = "1";
    /** 是否重置批次(2否) */
    public static final String LABEL_IS_BATCH_TWO = "2";
    //成品标签end ************************************************************************************************


    //出库任务状态start ------------------------------------------------------------------------------
    /** 状态 1正在执行 */
    public static final String OUT_MV_STATUS_ONE = "1";
    /** 状态 2取消任务 */
    public static final String OUT_MV_STATUS_TWO = "2";
    /** 状态 3下发失败 */
    public static final String OUT_MV_STATUS_THREE = "3";
    /** 状态 4执行完毕 */
    public static final String OUT_MV_STATUS_FOUR = "4";
    //出库任务状态end ************************************************************************************************


    //出库任务类型start ------------------------------------------------------------------------------
    /** 状态 1出库任务 */
    public static final String OUT_TYPE = "1";
    /** 状态 2移库任务 */
    public static final String MV_TYPE = "2";
    //出库任务类型end ************************************************************************************************


    //入库单start ------------------------------------------------------------------------------
    /** 状态 1等待执行 */
    public static final String IN_STORE_STATUS_ONE = "1";
    /** 状态 2正在执行 */
    public static final String IN_STORE_STATUS_TWO = "2";
    /** 状态 3执行完毕 */
    public static final String IN_STORE_STATUS_THREE = "3";
    /** 出入库状态 4上传完毕 */
    public static final String IN_STORE_STATUS_FOUR = "4";
    /** 出入库状态 5删除 */
    public static final String IN_STORE_STATUS_FIVE = "5";
    //入库单end ************************************************************************************************





    //入库单详情start ------------------------------------------------------------------------------
    /** 状态 1等待执行 */
    public static final String IN_STORE_DETAIL_STATUS_ONE = "1";

    /** 状态 2正在执行 */
    public static final String IN_STORE_DETAIL_STATUS_TWO = "2";

    /** 状态 3执行完毕 */
    public static final String IN_STORE_DETAIL_STATUS_THREE = "3";

    /** 状态 4上传执行 */
    public static final String IN_STORE_DETAIL_STATUS_FOUR = "4";
    //入库单详情end ************************************************************************************************



    //入库流水start ------------------------------------------------------------------------------
    /** 状态 1等待执行 */
    public static final String WATER_STATUS_ONE = "1";

    /** 状态 2正在执行 */
    public static final String WATER_STATUS_TWO = "2";

    /** 状态 3执行完毕 */
    public static final String WATER_STATUS_THREE = "3";

    /** 上架状态(0未上架 */
    public static final String WATER_GROUNDING_ZERO = "0";

    /** 上架状态(1已上架 */
    public static final String WATER_GROUNDING_ONE = "1";

    /** 前缀开头字母 */
    public static final String WATER_ASNS = "ASNS";

    /** 前缀开头字母 */
    public static final String WATER_NUMBER = "0000";


    //入库流水end ************************************************************************************************






    //入库流水详情start ------------------------------------------------------------------------------
    /** 状态 1等待执行 */
    public static final String WATER_DETAIL_STATUS_ONE = "1";

    /** 状态 2正在执行 */
    public static final String WATER_DETAIL_STATUS_TWO = "2";

    /** 状态 3执行完毕 */
    public static final String WATER_DETAIL_STATUS_THREE = "3";

    /** 质检状态(1待检验 */
    public static final String WATER_DETAIL_QUALITY = "1";

    /** 质检状态(2合格 */
    public static final String WATER_DETAIL_QUALITY_YES = "2";

    /** 质检状态(3不合格 */
    public static final String WATER_DETAIL_QUALITY_NO = "3";
    //入库流水详情end ************************************************************************************************





    //出库单start ------------------------------------------------------------------------------
    /** 状态 1等待执行 */
    public static final String OUT_ORDER_STATUS_ONE = "1";
    /** 状态 2正在分配 */
    public static final String OUT_ORDER_STATUS_TWO = "2";
    /** 状态 3正在执行 */
    public static final String OUT_ORDER_STATUS_THREE = "3";
    /** 状态 4执行完毕 */
    public static final String OUT_ORDER_STATUS_FOW = "4";
    /** 状态 5上传完毕 */
    public static final String OUT_ORDER_STATUS_FIVE = "5";
    //出库单end ************************************************************************************************



    //出库流水非瘟检测start ------------------------------------------------------------------------------
    /** 状态 0是合格 */
    public static final Integer OUT_WATER_PLAGUE_CHECK_STATUS_ZERO = 0;
    /** 状态 1不合格 */
    public static final Integer OUT_WATER_PLAGUE_CHECK_STATUS_ONE = 1;
    //出库流水非瘟检测end *********************************************************************************

    //出库流水是否替换新的托盘start ------------------------------------------------------------------------------
    /** 状态 0替换 */
    public static final Integer OUT_WATER_TO_REPLACE_STATUS_ZERO = 0;
    /** 状态 1不替换 */
    public static final Integer OUT_WATER_TO_REPLACE_STATUS_ONE = 1;
    //出库流水是否替换新的托盘end *********************************************************************************

    //出库流水start ------------------------------------------------------------------------------
    /** 状态 出库流水标识 */
    public static final String OUT_WATER_NUMBER_START = "WA";
    /** 状态 1等待执行 */
    public static final String OUT_WATER_STATUS_ONE = "1";
    /** 状态 2正在执行 */
    public static final String OUT_WATER_STATUS_TWO = "2";
    /** 状态 3执行完毕 */
    public static final String OUT_WATER_STATUS_THREE = "3";
    //出库流水end ************************************************************************************************


    //出库流水详情start ------------------------------------------------------------------------------
    /** 出库流水状态 1待拣货 */
    public static final String OUT_WATER_DETAIL_PICKING_ONE = "1";

    /** 出库流水状态 2已拣货 */
    public static final String OUT_WATER_DETAIL_PICKING_TWO = "2";


    /** 是否必须出库(1是 */
    public static final String OUT_WATER_DETAIL_OUT_TYPE_ONE = "1";

    /** 是否必须出库(2否 */
    public static final String OUT_WATER_DETAIL_OUT_TYPE_TWO = "2";
    //出库流水详情end ************************************************************************************************





    //盘点start ------------------------------------------------------------------------------
    /** 状态 1等待执行 */
    public static final String INVENTORY_FLOW_ONE = "1";

    /** 状态 2正在分配 */
    public static final String INVENTORY_FLOW_TWO = "2";

    /** 状态 3正在执行 */
    public static final String INVENTORY_FLOW_THREE = "3";

    /** 状态 4执行完毕 */
    public static final String INVENTORY_FLOW_FOW = "4";

    /** 状态 1待拣货 */
    public static final String INVENTORY_FLOW_STATUS_ONE = "1";

    /** 状态 2已拣货 */
    public static final String INVENTORY_FLOW_STATUS_TWO = "2";
    //盘点end ************************************************************************************************


    //调整单据start ------------------------------------------------------------------------------
    /** 状态 1待调整 */
    public static final String ADJUST_ONE = "1";

    /** 状态 2调整完毕 */
    public static final String ADJUST_TWO = "2";
    //调整单据end ************************************************************************************************





    //托盘 start ------------------------------------------------------------------------------
    /** 托盘条码前缀   不可改变 否则生成计算错误 */
    public static final String TRAY_BEFORE = "0000";

    /** 托盘初始值 */
    public static final Integer TRAY_ACTION = 6501;

    /** 托盘状态 1未使用 */
    public static final String TRAY_NOT_USE = "1";

    /** 托盘状态 2使用中 */
    public static final String TRAY_IS_USE = "2";

    //托盘 end ************************************************************************************************





    //库存表（托盘） start ------------------------------------------------------------------------------
    /** 质检状态(1待检验 */
    public static final String REPOSITORY_QUALITY_TESTING_ONE = "1";

    /** 质检状态(2合格 */
    public static final String REPOSITORY_QUALITY_TESTING_TWO = "2";

    /** 质检状态(3不合格 */
    public static final String REPOSITORY_QUALITY_TESTING_THREE = "3";
    //库存表（托盘） end ************************************************************************************************





    //库存表（箱子） start ------------------------------------------------------------------------------
    /** 质检状态(1待检验 */
    public static final String REPOSITORY_BOX_QUALITY_TESTING_ONE = "1";

    /** 质检状态(2合格 */
    public static final String REPOSITORY_BOX_QUALITY_TESTING_TWO = "2";

    /** 质检状态(3不合格 */
    public static final String REPOSITORY_BOX_QUALITY_TESTING_THREE = "3";
    //库存表（箱子） end ************************************************************************************************





    //储位地址 start ------------------------------------------------------------------------------
    /** 1空储位 */
    public static final int STORAGE_STATUS_EMPTY_STORAGE = 1;
    /** 2有物品 */
    public static final int STORAGE_STATUS_SOMETHING = 2;
    /** 3正在入库 */
    public static final int STORAGE_STATUS_IN_STORAGE = 3;
    /** 4正在出库 */
    public static final int STORAGE_STATUS_OUT_STORAGE = 4;
    /** 5正在移入 */
    public static final int STORAGE_STATUS_IN_MOVE_IN = 5;
    /** 6正在移除 */
    public static final int STORAGE_STATUS_IN_REMOVE = 6;
    //储位地址 end ************************************************************************************************




    //WCS start ------------------------------------------------------------------------------
    /** 操作成功 */
    public static final int WCS_STATUS_SUCCESS = 0;

    /** 操作失败 */
    public static final int WCS_STATUS_ERROR = 500;

    /** 未授权 */
    public static final int WCS_STATUS_UNAUTHORIZED = 401;

    /** 访问受限，授权过期 */
    public static final int WCS_STATUS_FORBIDDEN = 403;

    /** 系统警告消息 */
    public static final int WCS_STATUS_WARN = 601;
    //WCS end ************************************************************************************************

}
